home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
8174
/
8174.xpi
/
chrome
/
antbar.jar
/
content
/
player
/
player.xul
< prev
Wrap
Extensible Markup Language
|
2009-12-30
|
5KB
|
124 lines
<?xml version="1.0"?>
<!--
player.xul
firefox
Created by Zak on 2008-06-17.
Copyright 2008 Ant.com. All rights reserved.
-->
<!DOCTYPE window SYSTEM "chrome://antbar/locale/antplayer.dtd">
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://antbar/content/player/skin/player.css" type="text/css"?>
<window id="antFlvPlayerWindow"
title="&antFlvPlayerWindow.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<!-- Includes -->
<script type="application/x-javascript" src="chrome://antbar/content/lib/global.js"/>
<script type="application/x-javascript" src="chrome://antbar/content/lib/array.js"/>
<script type="application/x-javascript" src="chrome://antbar/content/lib/lib.js"/>
<script type="application/x-javascript" src="chrome://antbar/content/lib/lang.js"/>
<script type="application/x-javascript" src="chrome://antbar/content/prefs/prefs.js"/>
<script type="application/x-javascript" src="chrome://antbar/content/lib/flvlink.js"/>
<script type="application/x-javascript" src="chrome://antbar/content/player/player.js"/>
<stringbundleset id="strbundles">
<stringbundle id="langstr" src="chrome://antbar/locale/antbar.properties"/>
</stringbundleset>
<!-- HeadBar -->
<hbox id="antFlvPlayerHeadBar">
<vbox>
<image id="antFlvPlayerLogo" onclick="AntPlayer.onLogoClick();" tooltiptext="Ant.com"/>
</vbox>
<vbox align="left">
<html:table id="antFlvPlayerSearchTable" cellpadding="0" cellspacing="0" oncontextmenu="return false;">
<html:tr oncontextmenu="return false;">
<html:td oncontextmenu="return false;">
<html:input maxlength="2048"
id="antFlvPlayerSearchBox"
type="text"
value="&antFlvPlayerHeadSearchBox.value;"
onfocus="AntPlayer.onSearchBoxOnFocus(true);"
onblur="AntPlayer.onSearchBoxOnFocus(false);"
onkeypress="AntPlayer.onSearchBoxKeyPress(event);"
oncontextmenu="return false;"/>
</html:td>
<html:td oncontextmenu="return false;">
<html:a title="Search" id="antFlvPlayerSearchButton" onclick="AntPlayer.doSearch('web');" oncontextmenu="return false;">Search</html:a>
</html:td>
</html:tr>
</html:table>
</vbox>
</hbox>
<!-- Player -->
<html:p id="antFlvPlayerTitleBar" oncontextmenu="return false;">[<html:strong>Ant.com</html:strong>] Player</html:p>
<hbox id="antFlvPlayerContentBox" flex="1">
<html:embed id="antFlvPlayerEmbed"
src="chrome://antbar/content/player/mediaplayer.swf"
allowscriptaccess="always"
allowfullscreen="true"
menu="false"
flex="1"
wmode="opaque"
type="application/x-shockwave-flash"
oncontextmenu="return false;"/>
<splitter id="antFlvPlayerSplitter"
state="open"
collapse="none"
resizebefore="closest"
resizeafter="farthest"
hidden="true"/>
<!-- Contextual menu -->
<popupset>
<menupopup id="antFlvPlayerPopupMenu">
<menuitem id="antFlvPlayerPopupPlay"
label="&antFlvPlayerPopupPlay.label;"
default="true"
oncommand="AntPlayer.onPopupPlay(event);"/>
<menuseparator/>
<menuitem id="antFlvPlayerPopupRename"
label="&antFlvPlayerPopupRename.label;"
oncommand="AntPlayer.onPopupRename(event);"/>
<menuseparator/>
<menuitem id="antFlvPlayerPopupDelete"
label="&antFlvPlayerPopupDelete.label;"
oncommand="AntPlayer.onPopupDelete(event);"/>
</menupopup>
</popupset>
<!-- List of flv to be played -->
<richlistbox id="antFlvPlayerRichListBox">
<!-- <richlistitem class="antFlvPlayerRichListItem antFlvPlayerRichListItemGrey"
ondblclick="AntPlayer.onListItemDblClick(event);"
context="antFlvPlayerPopupMenu"
orient="vertical">
<label value="IT Guy Vs Dumb EmployeesVideo" class="antFlvPlayerRichListName" crop="end"/>
<label value="break" class="antFlvPlayerRichListInfos" crop="end"/>
</richlistitem>
<richlistitem class="antFlvPlayerRichListItem antFlvPlayerRichListItemActive"
ondblclick="AntPlayer.onListItemDblClick(event);"
context="antFlvPlayerPopupMenu"
selected="true"
current="true"
orient="vertical">
<label value="Video Bumble B-Boy - Transformers Bumblebee B-boy dance boivin - Dailymotion Share Your Videos"
class="antFlvPlayerRichListName" crop="end"/>
<label value="dailymotion"
class="antFlvPlayerRichListInfos" crop="end"/>
</richlistitem> -->
</richlistbox>
</hbox>
<script type="application/x-javascript">
AntPlayer.init(document);
</script>
</window>